﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HealthcareSystem.Domain
{
    /// <summary>
    /// 用户
    /// </summary>
    [Table("logins")]
    public class Login
    {
        /// <summary>
        /// 用户ID
        /// </summary>
        [Key]
        public int UserId {  get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string? UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? UserNickname { get; set; }
        /// <summary>
        /// 手机号
        /// </summary>
        public string? UserPhone { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string? EnterprieName { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string? CreditCode { get; set; }
    }
}
